import { View, Text } from "react-native";

export default function ErrorBoundary({ error }: { error: Error }) {
  return (
    <View>
      <Text>出错了: {error.message}</Text>
    </View>
  );
} 